import About from "@/pages/about.vue";
import Home from "@/pages/home.vue";
import Message from "@/pages/message.vue";
import { createRouter, createWebHistory,createWebHashHistory} from "vue-router";
const router=createRouter({
    history:createWebHistory(),
    routes:[
        {
            name:"guanyu",
            path:"/about",
            component:About
        },
        {
            name:"zhuye",
            path:"/home",
            component:Home
        },
        {
            name:"xinxi",
            path:"/message",
            component:Message
        }
    ]
})
export default router